package com.outsider.util;

import java.util.Date;

public class DailyReport {
    public static String GeneratorWelcomeMessage(){
		Date date=new Date();
		if (date.getHours()>=0&& date.getHours()<=5)
			return("凌晨好");
		else if (date.getHours()>=6 && date.getHours()<=12)
			return("早上好");
		else if (date.getHours()>=13 && date.getHours()<=19)
			return("下午好");
		else 
			return("晚上好");
    }

}
